# encoding: utf-8

"""
专门用作测试脚本

"""
from apps.webserver import runserver

from apps.db import Sqlite3cls

if __name__ == '__main__':
    # runserver()
    data = {
        "taskid": 99,
        "pre_ommand": "whoami",
        "post_ommand": "whoami",
        "workdir": ",",
        "task_name": "test"
    }
    with Sqlite3cls() as ss:
        ss.task_create(data)
